CompilerEnvironmentAppendTo
CompilerEnvironmentAppendTo[{def1,def2,…}] appends declarations to $CompilerEnvironment.
CompilerEnvironmentAppendTo[env,{def1,def2,…}] appends declarations to CompilerEnvironmentObject env.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.